package 第四轮工作.北方工业大学;

import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

import java.io.IOException;

public class BfGU {
    public static void main(String[] args) throws IOException {
        Connection connect = Jsoup.connect("http://dqgc.ncut.edu.cn/szdw/szll/dqgcx.htm");
        Document post = connect.post();
        for (Element listConCleafix : post.getElementsByClass("list_con cleafix")) {
            for (Element element : listConCleafix.getElementsByTag("li")) {
                System.out.println(element.getElementsByTag("a").attr("href"));
            }

        }

    }
}
